<%--
  Created by IntelliJ IDEA.
  User: luo
  Date: 2022/2/11
  Time: 10:31
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" language="java" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Title</title>
</head>
<body>
<%--获取请求域的数据--%>
${sessionScope.a}
<br>
<%--获取session域的数据--%>
${sessionScope.user.id}
${sessionScope.user.username}
${sessionScope.user.password}
</body>
</html>